<?php
/* @var $this UsersController */
/* @var $model Users */
/* @var $form CActiveForm */
?>

<div class="wide form">

    <?php $form = $this->beginWidget('CActiveForm', array(
        'action' => Yii::app()->createUrl($this->route),
        'method' => 'get',
    )); ?>

    <div class="row">
        <?php echo $form->label($model, 'id'); ?>
        <?php echo $form->textField($model, 'id'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'name'); ?>
        <?php echo $form->textField($model, 'name', array('size' => 60, 'maxlength' => 255)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'username'); ?>
        <?php echo $form->textField($model, 'username', array('size' => 60, 'maxlength' => 150)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'email'); ?>
        <?php echo $form->textField($model, 'email', array('size' => 60, 'maxlength' => 100)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'usertype'); ?>
        <?php echo $form->textField($model, 'usertype', array('size' => 25, 'maxlength' => 25)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'block'); ?>
        <?php echo $form->textField($model, 'block'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'sendEmail'); ?>
        <?php echo $form->textField($model, 'sendEmail'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'registerDate'); ?>
        <?php echo $form->textField($model, 'registerDate'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'lastvisitDate'); ?>
        <?php echo $form->textField($model, 'lastvisitDate'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'activation'); ?>
        <?php echo $form->textField($model, 'activation', array('size' => 60, 'maxlength' => 100)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'params'); ?>
        <?php echo $form->textArea($model, 'params', array('rows' => 6, 'cols' => 50)); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'lastResetTime'); ?>
        <?php echo $form->textField($model, 'lastResetTime'); ?>
    </div>

    <div class="row">
        <?php echo $form->label($model, 'resetCount'); ?>
        <?php echo $form->textField($model, 'resetCount'); ?>
    </div>

    <div class="row buttons">
        <?php echo CHtml::submitButton('Search'); ?>
    </div>

    <?php $this->endWidget(); ?>

</div><!-- search-form -->